import React, {Suspense } from 'react';
import { HashRouter } from 'react-router-dom';
import PageRoutes from '@/routes';

function App() {
  return (
    <HashRouter>
      <Suspense fallback={<div>loading</div>}>{PageRoutes()}</Suspense>
    </HashRouter>
  );
}

export default App;
